package com.cupcorn.lib.game.element;

import org.andengine.util.color.Color;

import com.cupcorn.lib.Anchor;
import com.cupcorn.lib.Ratio;

public class GameElementRectangle extends GameElementShape
{
	public float	red, green, blue, alpha;
	
	public GameElementRectangle(float x, float y, float width, float height, float red, float green, float blue, float alpha, Anchor anchor, Ratio ratio)
	{
		super(x, y, width, height, anchor, ratio);
		this.red = red;
		this.green = green;
		this.blue = blue;
		this.alpha = alpha;
	}
	
	public GameElementRectangle(float x, float y, float width, float height, Color color, float alpha, Anchor anchor, Ratio ratio)
	{
		this(x, y, width, height, color.getRed(), color.getGreen(), color.getBlue(), alpha, anchor, ratio);
	}
	
}
